import { http } from "@/uni-sub-base/service/request.js"
import configs from "@/config/config.js"
let serviceNameChat = configs.baseUrlChat + "OpenApi/"

//使用小程序登录获取openId
export function getMiniProgramOpenId(data) {
    return http.post({
        url: serviceNameChat + "GetMiniProgramOpenId",
        data,
    })
}
//小程序支付
export function MiniProgramPay(data) {
    return http.post({
        url: serviceNameChat + "MiniProgramPay",
        data,
    })
}
